//
//  MyAvatarTableCell.m
//  Job
//
//  Created by 如此的你 on 2018/8/21.
//  Copyright © 2018年 桑赐相. All rights reserved.
//

#import "MyAvatarTableCell.h"

@interface MyAvatarTableCell()

@property (weak, nonatomic) IBOutlet UIImageView *avatar;

@end

@implementation MyAvatarTableCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self.avatar setLayerWithRadius:5.0 color:ClearColor width:0.0];
}

- (void)setUser:(XLUserModel *)user {
    _user = user;
    
    [self.avatar sd_setImageWithURL:[NSURL URLWithString:user.portrait] placeholderImage:[UIImage imageNamed:@"def_header"]];
    
    
    
}




@end
